Hello,
Which program are you using to open the DOCX? We have tested it using MS Word 2007, MS Word 2013 and LibreOffice 5 and all show the correct headers and footers (this is the same than the source documents) in the merged DOCX.
(The problem was an old version of LibreOffice)
Regards.