Now using TLS, improved handling of joins/quits.