Change: handle chunked encoding better.