added check for gzip content encoding
Merge pull request #3 from herbig/master

Content-Encoding check