updated from mina 2 to netty 4