assertEquals(1, client.getConnector().getSessionByAddress(
AddrUtil.getOneAddress("localhost:4799")).size());
memServer1 = new TCPController();
memServer1.setHandler(new MockHandler("response from server1"));
memServer1.setCodecFactory(new TextLineCodecFactory());
memServer1.bind(new InetSocketAddress(4799));
Thread.sleep(5000);
assertEquals(1, client.getConnector().getSessionByAddress(
AddrUtil.getOneAddress("localhost:4799")).size());
assertEquals("response from server2", client.get("a"));
assertEquals("response from server1", client.get("b"));