Unified header extraction in Gzip input stream.