Merge pull request #2 from sergeyklay/master

Improved Cookie class
Fixed cookie expiration