docs: public void setHost(String host) throws IllegalStateException {
          if (host == null) {
              throw new IllegalArgumentException("host parameter is null");
          }
          assertNotOpen();
          hostName = host;
      }