use SocketAgent interface

test on local machine.
choose a different name due to we already using proxyAgent as an interface.