docs: public static String getCookieValue(Cookie[] cookies, String name) {
  
          for (int i = 0; (cookies != null) && (i < cookies.length); i++) {
              if (name.equalsIgnoreCase(cookies[i].getName())) {
                  return cookies[i].getValue();
              }
          }
          return null;
      }