[api] Allow for optional gzip encoding.
[dist] Version bump. 1.0.1