/**
* Returns a cookie specified by the given name
*
* This is a shortcut for $message->getHeaders()->getCookie($name);
*
* @param string $name Name of the cookie
* @return Cookie The cookie or NULL if no such cookie exists
* @api
*/
public function getCookie($name)
{
return $this->headers->getCookie($name);
}