docs: function() {
          if(this._conn.connected && !this._conn.disconnecting) {
              Strophe.error("Websocket closed unexcectedly");
              this._conn._doDisconnect();
          } else {
              Strophe.info("Websocket closed");
          }
      }