handle multiple proxies