fix decoding chunked transfer encoding
gzip: output parially decoded content in case of gzip error