Updated for netty 4.0.2