Add error checking for channel join and move valid_chan_name to
router.vala: