Email Record: Agreement, leader election and secure message transmission in networks with Byzantine faulty links and processors /