added gzip compression if available