fix cgi pipes not closed in some error case + minor improvements

improve http listener migration / shutdown of old listener

use separate buffer for chunked transfer encoding, not inbuf

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

mercurial