replaced util in native/server.cc with clientBaton member functions