Write all headers in BaseMsg