Rabat uses UN week in New York to win over Washington, Moscow and African capitals before a Security Council vote on 31 October.