   monitorPresence:(callbacks)-> @send 'monitorPresence', callbacks
 
   subscribe:(name, options={}, callback)->
-    console.log "bongo/subscribe", name, options
+    trace "bongo/subscribe", name, options
     return callback? new Error "not supported anymore"
 
     throw new Error "no broker client"  unless @mq?

      callback null, results

  handleRequest:(message)->
    console.log "bongo/handleRequest", message

    if message?.method is 'defineApi' and not @api?
      console.log "bongo/handleRequest/defineApi"
      @defineApi message.arguments[0]
    else if message?.method is 'handshakeDone'
      console.log "bongo/handleRequest/handshakeDone"
      @handshakeDone()
    else
      console.log "bongo/handleRequest/else"

      {method, context} = message
      scrubber = new Scrubber @localStore

    return channel

  xhrHandshake: ->
    trace "bongo/xhrHandshake"
    return @handshakeDone()

    @send 'xhrHandshake', (api) =>
