Revert "Explicitly use sync versions of cookie functions"
Merge branch 'master' into revert-1031-cookie_sync

Conflicts:
	request.js
Merge pull request #1121 from nylen/revert-1031-cookie_sync

Revert "Explicitly use sync versions of cookie functions"