7533630150
Port from anomalyco/opencode#40707: connection-establishment and DNS failure messages wrapped in generic exceptions (RuntimeError from local shims, MCP bridges, SDKs re-raising without chaining) fell through to FailoverReason.unknown, which misses the retry loop's eager transport fallback — the full retry budget burned against a dead endpoint before provider fallback. New _CONNECTION_MESSAGE_PATTERNS (connect refused, no route, network unreachable, DNS phrasings across Python/glibc/macOS/Node, fetch failed, Envoy upstream connect error) classify as retryable timeout via _classify_by_message, mirroring _TIMEOUT_MESSAGE_PATTERNS. Mid-stream disconnect strings are deliberately excluded — they keep their _SERVER_DISCONNECT_PATTERNS routing (large-session compression).