sslCtx = null;
}
// configure metrics
ScheduledExecutorService metricCollector = Executors.newScheduledThreadPool(1);
MixServerMetrics metrics = new MixServerMetrics();
ThroughputCounter throughputCounter = new ThroughputCounter(metricCollector, 5000L, metrics);
if(jmx) {// register mbean
MetricsRegistry.registerMBeans(metrics, port);
}