use target test from UIComponents to detect whether we should establish connection
added basic subnet stuff