Handle GZIP encoding

Handle gzip encoded streams. Many websites push gzip encoded content automatically, even if the request doesn't accept gzip encoding.

Note: The commit is just a single line of change. But since it touches some lines in the "handle redirects" branch, I have based this branch on the handleRedirects branch.