call setCookie with incoming raw set-cookie headers then get the value of the outgoing cookie header