Refactored WebSocketServiceHostManager.cs, WebSocketSessionManager.cs