Fixed cookie variable format issue

Ref:
http://stackoverflow.com/questions/25374231/copying-cookie-for-httr/2538
1506#25381506
Merge pull request #132 from hrbrmstr/master

Fixed cookie variable format issue