add gzip/deflate decompression when content-encoding says it is there
refactor handling of the "end" event in 'normal' and 'proxy' in the ConnectionManager