static TCPChannel expectServerChannel(MockNIOServer mockServer, Class c) {
		CalledMethod method = mockServer.expect(MockNIOServer.CONNECTED);
		TCPChannel svrChan = (TCPChannel)method.getAllParams()[0];
		assertEquals("should be instance of correct channel type", c, svrChan.getClass());
		return svrChan;
	}