[WIP] normalize header values to bytes

in Python 3.x this returns b'\x00'*x, not str(x).encode()