!hco #15716: porting http internals to dsl2

Looking at this I have to admit that I am not at all sold yet at the merits of the whole FlowGraph DSL thing.
I haven't seen any real streaming code that was actually improved over what we had before.
APIs are becoming obfuscated and implementations much less readable/concise. :-(