Fix errored logic for request.protocol

When verifying the request.