Migrate \Slim\Http\Util methods into \Slim\Http\Cookies