Hackers in the U.K. could face ten years in jail under stiff new laws passed in parliament.