Upgrade to netty 4.0.20
Fix compilation warnings