Anyone read the first message at all? The problem is that other proxy requests are effectively ignored after a DIRECT connection even if it fails.
What i am trying right now is implementing ProxySelector so that a "manual" proxy configuration is added at the end of the public List<Proxy> select(final URI uri) return list, and only requesting configuration from the user if public void connectFailed(final URI uri, final SocketAddress sa, final IOException ioe) function is called. Obviously this won't work how the current setup is done. What is so special about direct connection requests that they must break the proxy chain of responsibility?