Implementing support for Express's request.protocol.