implemented the gzip decompression for http response body