Validates whether the specified protocol is supported. Throws an error if the protocol is invalid.
The protocol to validate.
Validates whether the specified protocol is supported. Throws an error if the protocol is invalid.