MAde adding to the DOM more sensible, and only track sockets that have a name.