Upgrade to netty 4.0.12.Final
Get rid of static fields which are not used anymore
Disable ResourceLeakDetection by default for performance reasons
Cleanup
change to shutdown and use daemon threads for NIO
fix proton to use readableBytes() instead of capacity()
fix nettyconector to wait for eventloop writes before closing the channel
nettyacceptor changed to use hornetq thread factory and to shutdown immediate
make sure to stop server
added permissions for test
reset readerindex on buffer  in StompFrame if re used
fix netty dep