mscdex/ssh2 — pull request #101 by mafintosh (2014-01-21 15:07:08+00:00)
Title: Fix missing drain when return value of write is undefined

Hi. This fixes an issue I've been having where a `forwardOut` stream would suddenly not emit `drain`.
After some debugging I found out that it's because the `_drainOutBuffer` method on the `ChannelStream` didn't emit `drain` when a write returned undefined. This PR fixes this by emitting `drain` for all return values of write except false.