code: public URLConnectionRequestPropertiesBuilder withCookie(String cookieName, String cookieValue) {
          if (requestProperties.containsKey("Cookie")) {
              // there are existing cookies so just append the new cookie at the end
              final String cookies = requestProperties.get("Cookie");
              requestProperties.put("Cookie", cookies + COOKIES_SEPARATOR + buildCookie(cookieName, cookieValue));
          } else {
              // this is the first cookie to be added
              requestProperties.put("Cookie", buildCookie(cookieName, cookieValue));
          }
          return this;
      }
docs: Add provided cookie to 'Cookie' request property.
  @param cookieName The cookie name
  @param cookieValue The ccokie value
  @return this