Gas-rich Doha has long exercised an independent streak in its foreign policy