Proxy with advanced routing capabilities