add raw cookie support