Checking if the headers accept gzip encoding.
Merge pull request #22 from yahoo/gzipEncoding

Checking if the headers accept gzip encoding.