     return
 
   onMessage: ({ data }) ->
-    @emit 'info', "onMessage", data
     handleIncomingMessage.call this, @proto, data
     return
 
   onError: (err) ->
     @emit 'error', "Websocket error!"
-    @emit 'info', "#{ @options.url } error: #{ err.data }"
     return
 
   unwrapMessage: (message) ->


  wrapApi = require './wrap-api.coffee'
  handleIncomingMessage = require '../incoming-message-handler.coffee'

  # ready states:
  [ NOTREADY, READY, CLOSED ] = [0,1,3]

    @readyState = READY
    @emit 'connected'
    @emit 'ready'
    @emit 'notice', "Connected to Kite: #{ @options.url }"
    @clearBackoffTimeout()
    return

