Handle raw LF

Irssi proxy is silly, but in the world of IRC Postel's law rules.

Also, fix my silly test/script breakage.
PS: I wonder if it would be possible to setup some kind of CI using node or phantomjs?