docs: public DiscoverInfo getSupportedFeatures() throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
          ServiceDiscoveryManager mgr = ServiceDiscoveryManager.getInstanceFor(connection());
          return mgr.discoverInfo(pubSubService);
      }