Fix of message header serialization.