iOS: Added TS Gateway support