It seems that netty4 final has a bug https://github.com/netty/netty/issues/1585