fixed set-cookie deleting domain algorithm