add support for callbacks with socket.send()
changed int to var
add support for callbacks with socket.send()
changed int to var
Merge branch 'bug136' of https://github.com/albertyfwu/engine.io-client into bug136
empty callbackBuffer
added in delayed flushing/callbacks
changes
fixed `drain` bug splicing with upgrading
added flush event to Socket.flush
added documentation for send and `flush`, `flushComplete` events
fix `flush` and `flushComplete` events
added drain event
only flush if writeBuffer is length 0

in onClose, cleanup writeBuffer, callbackBuffer
readme minor fix
Merge pull request #141 from albertyfwu/bug136

add support for callbacks with socket.send()