Protests in Hong Kong show challenges democracy now faces from increasingly tech-savvy authoritarian regimes.