Iran has sought to bolster its economic and security relationships on the continent after a punishing year both at home and in the Middle East.