out.writeObject(payload);
if (payload == null) { out.writeByte(NULL); } else { out.writeByte(OBJECT); out.writeObject(payload); }
   protected void writePayloadExternal(ObjectOutput out) throws IOException   {      out.writeObject(payload);   }