master
connect
connect(host, port = NaN) { if (!this.connected) { this.host = host; this.port = port; this.uri = 'ws://' + this.host + ':' + this.port;