add cookies support
Merge pull request #12 from kontinuous/KON-40-add-cookies

add cookies support