Officials from the US and Iran are set to meet in Islamabad, with Pakistan hoping to broker an end to the war in the Middle East.