made some additions to proxyNetwork.R