Now connects based on essid, bssid and channel. NetID check now checks
the netid instead of netmask.