Refactored WebSocketServiceManager.cs, WebSocketSessionManager.cs