fun String.toURLOrNull(context: URL? = null): URL?
Converts a String to URL, with an optional URL context returning null if string cannot be parsed.