A first implementation based on netty