The leader of the Labour party has announced his intention to draw up a digital bill of rights, installing a constitutional settlement for online privacy for UK citizens.