code: function TmpSocket() {
              var boundEvents = {};
              this.on = function (evName, fn) {
                  boundEvents[evName] = fn;
                  return this;
              };
              this.become = function(actualSocket) {
  
                  // Pass events and a reference to the request queue
                  // off to the actualSocket for consumption
                  for (var evName in boundEvents) {
                      actualSocket.on(evName, boundEvents[evName]);
                  }
                  actualSocket.requestQueue = this.requestQueue;
  
                  // Bind a one-time function to run the request queue
                  // when the actualSocket connects.
                  if (!_isConnected(actualSocket)) {
                      var alreadyRanRequestQueue = false;
                      actualSocket.on('connect', function onActualSocketConnect() {
                          if (alreadyRanRequestQueue) return;
                          runRequestQueue(actualSocket);
                          alreadyRanRequestQueue = true;
                      });
                  }
                  // Or run it immediately if actualSocket is already connected
                  else {
                      runRequestQueue(actualSocket);
                  }
  
                  return actualSocket;
              };
  
              // Uses `this` instead of `TmpSocket.prototype` purely
              // for convenience, since it makes more sense to attach
              // our extra methods to the `Socket` prototype down below.
              // This could be optimized by moving those Socket method defs
              // to the top of this SDK file instead of the bottom.  Will
              // gladly do it if it is an issue for anyone.
              this.get = Socket.prototype.get;
              this.post = Socket.prototype.post;
              this.put = Socket.prototype.put;
              this['delete'] = Socket.prototype['delete'];
              this.request = Socket.prototype.request;
              this._request = Socket.prototype._request;
          }
docs: //////////////////////////////////////////////////////////// ///                              /////////////////////////// /// PRIVATE METHODS/CONSTRUCTORS /////////////////////////// ///                              /////////////////////////// //////////////////////////////////////////////////////////// 
  TmpSocket
  
  A mock Socket used for binding events before the real thing
  has been instantiated (since we need to use io.connect() to
  instantiate the real thing, which would kick off the connection
  process w/ the server, and we don't necessarily have the valid
  configuration to know WHICH SERVER to talk to yet.)
  
  @api private
  @constructor