[api] add ability to pass in a proxy url for tunneling
[dist] add tunnel-agent