code: public HttpClientResponseBuilder withCookie(String cookieName, String cookieValue) {
          Action lastAction = newRule.getLastAction();
          CookieAction cookieAction = new CookieAction(lastAction, cookieName, cookieValue);
          newRule.overrideLastAction(cookieAction);
          return this;
      }
docs: Sets response cookie
  
  @param cookieName  cookie name
  @param cookieValue cookie value
  @return response builder