src/irclib.py: Further improvements to SASL and a few other minor things