pub fn parse_url(url: &str) -> Result<(String, Option<String>, String)>
Returns (schema, Option<host>, path)
(schema, Option<host>, path)