Encode header as ASCII binary string.