UN handbook tells governments how to fight terrorism