def set_cookie2(request_uri, cookie_header_value)
      cookie = Cookie.from_set_cookie2 request_uri, cookie_header_value
      add_cookie cookie
    end
def set_cookie2(request_uri, cookie_header_value)
      cookie = Cookie.from_set_cookie2 request_uri, cookie_header_value
      add_cookie cookie
    end
Given a request URI and a literal Set-Cookie2 header value, attempt to
 add the cookie to the cookie store.

 @param [String, URI] request_uri the resource returning the header
 @param [String] cookie_header_value the contents of the Set-Cookie2
 @return [Cookie] which was created and stored
 @raise [InvalidCookieError] if the cookie header did not validate