Serve error page content with the same protocol as the page itself (fixe...

...s OPS-2039)