     @options.autoReconnect ?= yes
 
     @readyState = NOTREADY
-    
+
     @initBackoff()  if @options.autoReconnect
 
     @proto = dnodeProtocol (wrapApi @options.api)
-    
+
     @proto.on 'request', (req) =>
       @ready => @ws.send JSON.stringify req
       @emit 'info', "proto request", req

    return

  @random = (kites) ->
    kites[Math.floor Math.random() * kites.length] 


    scrubbed = @proto.scrubber.scrub [@wrapMessage method, params, callback]
    scrubbed.method = method

    @proto.emit 'request', scrubbed
    return

