code: public void setCookies(HttpURLConnection http) {
  
  		// Only save cookies if FLAGS_ENABLE_COOKIES has been set.
  		if((flags & XMLRPCClient.FLAGS_ENABLE_COOKIES) == 0)
  			return;
  
  		String concat = "";
  		for(Map.Entry<String,String> cookie : cookies.entrySet()) {
  			concat += cookie.getKey() + "=" + cookie.getValue() + "; ";
  		}
  		http.setRequestProperty(COOKIE, concat);
  
  	}
docs: Write the cookies to a http connection. It will set the Cookie field
  to all currently set cookies in the map.
  
  @param http A http connection.