Is the event err a valid alias for error? I don't think so.
err
error
See socket.on('err', this._onError.bind(this)); here
socket.on('err', this._onError.bind(this));