squash into CURL::IsProtocol()