Handle gzip encoding