   _.extend(@prototype, Backbone.Events)
   # ### method :
   constructor : (ws_conn_string) ->
+    @auth = {}
     @ws_conn_string = ws_conn_string
     @_connected = $.Deferred()
     @connected = @_connected.promise()

    @trigger("msg:" + topic, data)
    return null


# ###function : submodels


  # * wswrapper : WebSocketWrapper
  # * topic : topic to listen on (send to the server on connect)
  # * apikey : apikey for server
  wswrapper.subscribe(topic, apikey)
  wswrapper.on("msg:" + topic, (msg) ->
    msgobj = JSON.parse(msg)
    if msgobj['msgtype'] == 'modelpush'
