fixes for Netty and HORNETQ-1290