docAdd() in ClientConnection