Handle gzip compression

Tests now fail for another reason, but thanks to HttpClientBuilder and
its out-of-the-box support for gzip decompression, the error documented
in the previous commit is now fixed.