Proteas take control in second Test against Sri Lanka thanks to Dane Paterson’s five-for