code: function (options) {
          W.extend(this, W.eventMixin);
          this.socketUrl = options.socketUrl;
          this._connectionDesired = false;
          this.attemptReconnectionAfterMS = (typeof options.attemptReconnectionAfterMS !== 'undefined') ? options.attemptReconnectionAfterMS : 10000;
      }
docs: Options * socketUrl <String> * attemptReconnectionAfterMS <Number> - wait until attempting reconnection. Default 1000. Events * 'open' * 'closed' * 'reconnecting' * 'closed successfully' * 'json' * 'nonjson' * 'message' * 'error'