Added SRV failover support