Parses URL text.
URL text.
Result.ok(parsed URL object), or Result.error(NetUrlError.INVALID_ARGUMENT/PARSE) on invalid input.