fixed syntax typo (this.socket => this._socket)