rename api

DecodeHeader -> ReadHeader
EncodeHeader -> h.Bytes()