     @proto.on 'request', (req) =>
       @ready => @ws.send JSON.stringify req
       @emit 'info', "proto request", req
+      return
 
   # connection state:
   connect: ->

    scrubbed.method = method
    
    @proto.emit 'request', scrubbed

    return

  # util:

    @ws.addEventListener 'message', @bound 'onMessage'
    @ws.addEventListener 'error',   @bound 'onError'
    @emit 'info', "Trying to connect to #{ url }"
    return

  disconnect: (reconnect = true) ->
    @autoReconnect = !!reconnect  if reconnect?
    @ws.close()
    @emit 'info', "Disconnecting from #{ @options.url }"
    return

  # event handlers:
  onOpen: ->
