updateSocket() {
		if(this.references === 0) {
			// No more references, kill the socket
			if(this._socket) {
				this.debug('Network no longer active, destroying socket');
				this._socket.close();
				this._socket = null;
			}
		} else if(this.references === 1 && ! this._socket) {
			// This is the first reference, create the socket
			this.debug('Making network active, creating socket');
			this.createSocket();
		}
	}
Update wether the socket is available or not. Instead of always keeping
a socket we track if it is available to allow Node to exit if no
discovery or device is being used.