handle NOTICE commands seamlessly as PRIVMSG commands
rework handle_raw: write input if it's a PRIVMSG or NOTICE command

command handlers are now free to modify params or input
handle_priv writes to the out file
handle_raw writes to the out file if the raw command
was a PRIVMSG or a NOTICE