First commit after migrating to Netty 4. There are still many compilation errors that still need to be resolved.