Don't hardcode the request protocol, get it from the ENV.