http: do not use new API

fixes regressions introduced with davix fix backport

Acked-by:
Target: 2.8, 2.7, 2.6
Require-book: no
Require-notes: no
Merge pull request #642 from kofemann/fix-http-2.8

http: do not use new API