added support for gzip deflate