Support native deflate and gzip encodings