Added client connection/disconnection methods and authentication termination method. Previously it was on_server_connection/on_server_disconnection methods that were called. Methods called by respective protocol connection state.