Make use of HttpChunkedInput as this will also work when compression is used