use netty instead of mina