Client can encode and decode headers