better output of connection/disconnections based on MessageType