Store header integers in network byte order.