Fix bug for chunked/gzipped bodies