Issue is fixed by no longer using curl for http (set to use libsoup instead now).
No bug reports found yet why it fails with curl....
EDIT:
Adding http2 support to curl is the proper fix, curl is now build with the new nghttp2 package for the http2 support.