Added support for gzip compression