[NET] update connection code from avroute