Use IRC RX callbacks also for PING, 0001, ERROR and PRIVMSG
Refactor: split recv_ircmsgs() to two pieces

Fix recv_ircmsgs() to just iterate the input buffer and then call
recv_ircmsg() for each completely received message.