public static bool MatchHost(this RaciEndpoint ep, string host) => keyUtil.Equals(Hostname(ep), GetHostname(host));
public static bool MatchUrl(this RaciEndpoint ep, string url) => keyUtil.Equals(GetUrl(ep.ServiceRoot), GetUrl(url));
public static string Hostname(this RaciEndpoint ep) => Uri(ep)?.DnsSafeHost;
public static string Url(this RaciEndpoint ep) => GetUri(ep?.ServiceRoot).AbsoluteUri;
public static Uri Uri(this RaciEndpoint ep) => GetUri(ep?.ServiceRoot);