doc comment for setCookie
Merge pull request #2557 from MartinNowak/fixCurlDoc

ddoc comment for setCookie