UN warns of Somalia terror link