cookies setting support
tests fixes
Merge pull request #10 from strikead/cookies_setting

Cookies setting support