Split a URL into protocol, host, path and query params.Split a URL into protocol, host, path and query params.