code: private void handleCookies(HttpRequestBase httpRequest) {
  		if (!cookies.isEmpty()) {
  			httpRequest.addHeader(COOKIE, Cookies.serialize(cookies));
  		}
  	}
docs: Add cookies to http request.
  
  @param httpRequest Http request in creation.