changed the netty test example, not using deprcted constructor of objectdecoder anymore