[minor] add support for pre-configured proxies in agent