code: public static String serialize(Iterable<Cookie> cookies) {
  		StringBuilder result = new StringBuilder();
  		boolean first = true;
  
  		for (Cookie cookie : cookies) {
  			if (!first) {
  				result.append(SEPARATOR);
  			}
  
  			String name = cookie.getName();
  			String value = cookie.getValue();
  			result.append(name).append(NAME_VALUE_SEPARATOR).append(value);
  			first = false;
  		}
  
  		return result.toString();
  	}
docs: Serialize cookies as a string that is ready to be sent to a server over an HTTP
  request (a.k.a value of {@code Cookie} header).
  
  @param cookies Cookies to serialize.
  @return The final value.