make netty configuration configurable