public TCPChannel createTCPChannel(String id, Settings h) throws IOException {
        TCPChannel realChannel = mgr.createTCPChannel(id, h);
        ThdTCPChannel channel = new ThdTCPChannel(realChannel, svc, bufFactory);
        return channel;
    }