Go over all possible connection events, and add the missing callbacks to interact with the application