Functions for listing available wireless networks and connecting to a network.