fix uninitialized memory in http stream, when chunked transfer encoding is used

fix cgi event handling, pipes were not always closed

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

mercurial