Return header bytes instead of a header struct.  Only the bytes are used outside the func.