echoedBytesCounter.reset();
shutdownLatch = new Latch();
ChannelFactory factory = new ChannelFactory();
AsynchChannelServer server = factory.bindAsynchChannel(url);
System.out.println("Server accepting connections on: "+server.getConnectURI());
server.setAcceptListener(this);
server.start();
while(!shutdownLatch.attempt(sampleInterval)) {