docs: public Form getRegistrationForm() throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
          Registration reg = new Registration();
          reg.setType(IQ.Type.get);
          reg.setTo(room);
  
          IQ result = connection.createStanzaCollectorAndSend(reg).nextResultOrThrow();
          return Form.getFormFrom(result);
      }