During a troublesome protest or tricky election, some countries just cut the online cord.