Fix gzip with chunked - write full response to a buffer before decompressing it

Fixes #162