US President Obama is delivering a speech laying out his wide-ranging counter-terrorism policy for his second term.