[fix #983] Use the server HTTP protocol in sitemap response if available