Migrated to Netty 4.0.10.final

I'm currently learning netty, and I thought I try and migrate your example to Netty 4. Seems to be working if you want to do something with it.