In a move that calls to mind the start of the most serious unrest in nations across the Middle East over the last year, David Cameron, Britain's prime minister, told Parliament Thursday that authorities may shut down social media websites like Facebook and Twitter, in hopes that it would return calm to their streets.