Added setCookieParams($cookies) method

- Per https://groups.google.com/d/msgid/php-fig/320aba80-6458-4219-a844-ba8802d6c288%40googlegroups.com