Add support for webdav 3rd-party transfer using http and https

This patch also fixes that dCache doesn't send its version as part of the User-Agent string and that
the user-supplied headers were missing from pool HTTP requests.

Patch: https://rb.dcache.org/r/7142
Acked-by: Tigran Mkrtchyan
Requires-book: yes
Requires-notes: yes