use ProxyAgent interface
Merge pull request #2 from lpy/mergeAgent

add proxyAgent interface. So we can choose which tunnel should be used in runtime.