added batch proxy with failover to server