fix chunkheader parser not detecting EOF correctly in some cases

add test for http client responses with chunked transfer encoding

fix header iteration in client_read_response_header and add more tests

fix error forwarding in http_read_buffered when IO is performed

refactor http client io to use an HttpStream for reading the response

enable buffered reader for request bodies with fixed content-length

verify chunks in test_http_client_send_request_body_chunked

(0) -300 -100 -30 -10 -7 +7 +10 +30 tip

mercurial