async restart() {
    this._detachParser();
    const { domain, lang } = this.options;
    return this.open({ domain, lang });
  }
Restart the stream
https://xmpp.org/rfcs/rfc6120.html#streams-negotiation-restart