The regulator’s chief speaks to MPs about how Ofcom might regulate Facebook, Twitter and Google.