Detect protocol for proxied request

Check X-Forwarded-Proto in request to see if SSL is being handled by a
reverse proxy - if so then make sure we return https: absolute links
Updated requests to avoid SSL verification of certs

All use of self-signed certs by avoiding verification step