use request.protocol