code: function (options) {
                  var self = this;
  
                  self._requestQueue = []
  
                  self._socketOptions = angular.extend({}, _socketDefaults, options);
  
                  self._socket = new TmpSocket();
  
                  if (self._socketOptions.autoConnect) self.connect();
              }
docs: @ngDoc function
  @name angularSails.io.SailsSocket
  
  @param options
  @constructor