Cannot use CookieWriter anymore because we don't write to response anymore. Instead we need to set cookie inside the ContextObject - some type of storage for Cookies. Then when returning appResponse all the cookies should be converted into single set-cookie header.