The URL to validate and ping
Proxy URL to use when necessary (defaults to CONFIG_PROXY_URL)
Optional request timeout in milliseconds (defaults to none)
A promise that resolves with a result object containing isValid, isReachable, needsProxy, status, and optional error
Validates a URL's syntax and tests whether the server is reachable, with OGC GetCapabilities fallback.
Strategy:
pingUrlfor basic HEAD + file probe validation.The function never throws — all failures are returned as part of the result object.