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