Proper GZIP testing

Test for a GZIP'd using magic bytes.  See the [appropriate answer on Emacs.SE](http://emacs.stackexchange.com/a/2978) for details.
Done – thanks :grinning: