perform host failover on HTTP 502 errors