Change connection logic form using a list of the previously obtained ordered networks to use network proxy objects. This excludes the need to run get-networks command before the connect command.