docs: public static synchronized ChatManager getInstanceFor(XMPPConnection connection) {
          ChatManager manager = INSTANCES.get(connection);
          if (manager == null)
              manager = new ChatManager(connection);
          return manager;
      }