Changes for upcomming netty 4.0.0.CR2
Adjust for latest changes in netty 4