Use SASL for authentication and enhance the PING timeout system a bit.