Networking: Hide "connection" concept.

We pretend that there is always exactly one connection settings object for a device.  When creating a new one, we delete the rest.

Depends #988