Added gzip compression support