an echo server implemented by netty