Palmes, Francis, active 1670-1727, Lieutenant-General; diplomatist