on_pre_connect()
This allows clients to update usernames/passwords/TLS parameters prior to reconnecting.