Added method to easily extract the request protocol