Handle bare LF as sent by some servers

(Irssi proxy does this.)
Coffeescript conversion cleanup in onData function.