Pakistan positions itself as key mediator in escalating Middle East tensions.