Migrate to Netty 4
Fix compile error
Merge pull request #532 from normanmaurer/netty4

Upgrade to netty 4.0.0