Handle gzip responses

closes #1

Use the parsed RestClient body instead of the raw body response
so gzip encoded responses are handled correctly.

cc: thanks @polgfred