Add gzip decoding support.

Very rough draft to add gzip deflating for the submit requests.

Fixes #114.