if (!SupportsNativeWebSocket&&ExternalWebSocketServer!=null&&ExternalWebSocketServer.Port!=ConfigurationManager.Configuration.LegacyWebSocketPortNumber)
else if (!SupportsNativeWebSocket&&ExternalWebSocketServer!=null&&ExternalWebSocketServer.Port!=ConfigurationManager.Configuration.LegacyWebSocketPortNumber)