public TCPChannel createTCPChannel(String id, Settings h) throws IOException {
        TCPChannel realChannel = mgr.createTCPChannel(id, h);
        if(h == null || h.getSSLEngineFactory() == null) {
            return new UtilProxyTCPChannel(realChannel);
        }
        return new SecTCPChannel(realChannel, h.getSSLEngineFactory());
    }