automatically handle decompression of gzipped responses