@Override
  public void connectFailed(URI uri, SocketAddress sa, IOException ioe) {
    var mainProxySelector = CommonProxyCompatibility.mainProxySelector;
    if (mainProxySelector == null) return;
    mainProxySelector.connectFailed(uri, sa, ioe);
  }
@Override
  public void connectFailed(URI uri, SocketAddress sa, IOException ioe)