Added socket handling for new player joined and player left