Checks if the protocol of a given valid URI matches protocol.
a URI string
a protocol string (e.g. "http")
TRUE if the protocol matches.
Checks if the protocol of a given valid URI matches protocol.