# Check for host and protocol availability
private fun is_supported_outgoing_protocol(host: String): CURLCode
do
var host_reach = host.split_with("://")
if host_reach.length > 1 and supported_outgoing_protocol.has(host_reach[0]) then return once new CURLCode.ok
return once new CURLCode.unsupported_protocol
end
lib/curl/curl.nit:412,2--418,4