add 'drain' emit to WS
make sure to stop interval if transport closes
add support for callbacks with socket.send()
feature-check for bufferedAmount
fix featurecheck
added fake drain
wrapped drain call, changed back to encodePacket, moved intervalCleanup to WS, ...
removed irrelevant code
add 'drain' emit to WS
make sure to stop interval if transport closes
feature-check for bufferedAmount
fix featurecheck
added fake drain
wrapped drain call, changed back to encodePacket, moved intervalCleanup to WS, ...
removed irrelevant code
Merge branch 'ws_drain_fix' of https://github.com/albertyfwu/engine.io-client into ws_drain_fix
fixed websocket flush/drain loop
changes
changes
Merge pull request #140 from albertyfwu/ws_drain_fix

Ws drain fix