fix multiple reads could corrupt the httpclient buffer content

add more httpclient tests

fix build on Solaris 10

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

mercurial