People living in the farthest-flung parts of Britain will have the legal right to request fast broadband by the end of this parliament, as David Cameron pledges to put access to the internet on a similar footing to access to water, gas and electricity.