For the past 18 months, I've been investigating the export of surveillance technologies from Western countries to despotic regimes, but I never thought I'd see a democratic government proposing to install the kind of mass surveillance system favoured by Al-Assad, Mubarak and Gaddafi. Yet the Home Office's latest plans would allow the authorities unprecedented levels of access to the entire population's phone records, emails, browsing history and activity on social networking sites,…