Egypt and Somalia have signed a defence agreement believed to be aimed at Ethiopia, which is building a controversial base in the breakaway Somaliland region