sanitizeUrlOrNull

Sanitizes URL-like input by trimming and validating strict http(s) absolute URLs.

Returns null for blank values, malformed URLs, unsupported schemes, or URLs without host.