TCP/HTTP proxy and load balancer for high availability environments