Idempotency vs Nonce: Two Weapons Against Duplicate Requests