root out implicit casts from header parsing

We had a few places in our header parsing where we had implicit casts to unicode. We treat headers as bytestring only. Decoding is application-dependent.