Fix for #2544 in Netty 3.9

Fix for #2544 in Netty 3.9