integrate POJO serialization to netty server.