Added events to detect new clients (not working for now => message type is not correctly received by client).