The debate about online privacy versus the battle against crime was given new life this week with an attempt in Brazil to ban the popular messaging application WhatsApp.