netty 4 refactoring