Patched loading.html to ping the same protocol as the user came in from