docs: public void delete(final String path, int version, VoidCallback cb,
              Object ctx) {
          verbotenThreadCheck();
          final String clientPath = path;
          PathUtils.validatePath(clientPath);
  
          final String serverPath;
  
          // maintain semantics even in chroot case
          // specifically - root cannot be deleted
          // I think this makes sense even in chroot case.
          if (clientPath.equals("/")) {
              // a bit of a hack, but delete(/) will never succeed and ensures
              // that the same semantics are maintained
              serverPath = clientPath;
          } else {
              serverPath = prependChroot(clientPath);
          }
  
          RequestHeader h = new RequestHeader();
          h.setType(ZooDefs.OpCode.delete);
          DeleteRequest request = new DeleteRequest();
          request.setPath(serverPath);
          request.setVersion(version);
          cnxn.queuePacket(h, new ReplyHeader(), request, null, cb, clientPath,
                  serverPath, ctx, null);
      }