Handle socket core events (client)