Cleaned up implementation of buffering messages. Created ircBuffer object that
listens for data events on the socket and emits message events when a complete
message exists. Hooked `log` function properly into ircBuffer to listen for
output.