Implemented netty encoders and decoders to avoid fragmentation