Add request decompression

Support more efficient networking, feature-parity with version 1.0 of
the API.
Merge pull request #15 from jabley/compressed-uploads

Add request decompression