* Get or set cookie values.
*
* Options:
*
* - path: Cookie path, defaults to '/'
* - domain: Tail matched domain name such as 'vision-media.ca' or 'blog.vision-media.ca' etc
* - expires: Date object converted to 'Wdy, DD-Mon-YYYY HH:MM:SS GMT'
* - path Cookie path, defaults to '/'
* - domain Tail matched domain name such as 'vision-media.ca' or 'blog.vision-media.ca' etc
* - expires Date object converted to 'Wdy, DD-Mon-YYYY HH:MM:SS GMT'
* when undefined the cookie will last the duration of a the
* client's session.
* - secure: When true the cookie will be sent by the client only when transfering data via HTTPS
* - secure When true the cookie will be sent by the client only when transfering data via HTTPS
* - httpOnly When true the cookie will be sent to the server only and will not be accessable via
* client-side scripting.
*
* @param {string} name