Port to netty-4.0.0.CR10-SNAPSHOT api