Migrate to netty 4.0.X version

I propose to consider and discuss the patch to use netty 4.0.x under the hood.