Add support for cookies #12