docs: function(error) {
          Strophe.error("Websocket error " + error);
          this._conn._changeConnectStatus(Strophe.Status.CONNFAIL, "The WebSocket connection could not be established was disconnected.");
          this._disconnect();
      }