docs: @SuppressWarnings("deprecation")
      public static STUN getSTUNServer(XMPPConnection connection) throws NotConnectedException, InterruptedException {
  
          if (!connection.isConnected()) {
              return null;
          }
  
          STUN stunPacket = new STUN();
          stunPacket.setTo(DOMAIN + "." + connection.getXMPPServiceDomain());
  
          StanzaCollector collector = connection.createStanzaCollectorAndSend(stunPacket);
  
          STUN response = collector.nextResult();
  
          // Cancel the collector.
          collector.cancel();
  
          return response;
      }