Improve web socket handling and add RiskGameEngine