The head of Britain's domestic spy agency MI5 warned on Thursday that militant Islamists in Syria were planning "mass casualty attacks" in the West and that intelligence services may be powerless to stop them.