backend/irc: cleanup and simplify send() and put in option to enable/disable
the feature