Baghdad and Tehran are about to sign a draft security agreement