Fixed support for HTTP chunked encoding with Python 3