Updated to use new enproxy.Connect function