add a netty BaseHandlerInitializer and some codecs