static S hostNameFromURL(S url) ctex { ret empty(url) ? null : new URL(url).getHost(); }