docs: public List<HttpCookie> getHttpCookies() {
          List<HttpCookie> cookies = new LinkedList<>();
          // Use getCookieParams to reduce the places we parse cookies
          TreeSet<HtmlParameter> ts = getCookieParams();
          Iterator<HtmlParameter> it = ts.iterator();
          while (it.hasNext()) {
              HtmlParameter htmlParameter = it.next();
              if (!htmlParameter.getName().isEmpty()) {
                  try {
                      cookies.add(new HttpCookie(htmlParameter.getName(), htmlParameter.getValue()));
                  
                  } catch (IllegalArgumentException e) {
                      // Occurs while scanning ;)
                      log.debug(e.getMessage() + " " + htmlParameter.getName());
                  }
              }
          }
          
          return cookies;
      }