UN chief gives tips on fighting terror at Nairobi forum