The CIA chief William J Burns made an unannounced visit to Mogadishu this week.