Read straight from gzip reader.
Fix port type.
Fix gzip header error handling.