make parse_irc testable, include lager