almost finished the CookieStrategy with integration of HTTPFoundation