!hco #15716: porting http internals to dsl2

this is an unsafe temporary solution, will be replaced later by #15950