Pulling the plug off the Internet appears to the first resort of a regime that faces widespread popular protests.