cookie handling for spray-client