Adding optional cookie storage support for storing CSRF token. Mostly for the case of AngularJS automagically using a cookie called 'XSRF-TOKEN' if sent down the pipe.