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

        PacketProcessor processor = h.getPacketProcessorFactory().createPacketProcessor(realChannel);
        return new PacTCPChannel(realChannel, processor);
    }