get protocol from request object