 debug_comms = false
 if not util.isBrowser()
     debug_comms = contains process.env.MICROFLO_DEBUG, 'communication'
+    debug_send = true
 
 # TODO: implement a echo command, for testing
 

        @current = null
        @sending = false

        @options = options || {}
        @options.wait = 0 if not @options.wait


    write: (chunk, callback) ->
        throw new Error 'SendQueue.write must be implemented by consumer'

    push: (buffer, callback) ->
        # console.log 'queuing buf', buffer, @sending
        @queue.push
            data: buffer
            callback: callback

        @transport = transport
        @componentLib = componentLib
        @accumulator = new CommandAccumulator commandstream.cmdFormat.commandSize
        @sender = new SendQueue commandstream.cmdFormat.commandSize,
          type: @transport.getTransportType()

        return if not @transport
        @transport.on 'data', (buf) =>
