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

enable buffered reader for request bodies with fixed content-length

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

mercurial