   @Test
   public void testSocketDirect() throws URISyntaxException {

      ProxyConfig config = new MyProxyConfig(false, false, Proxy.Type.DIRECT, noHostAndPort, noCreds);
      URI uri = new URI("socket://ssh.example.com:22");
      assertEquals(new ProxyForURI(config).apply(uri), Proxy.NO_PROXY);
   }