added create_cookie method

Please add this to your gem.