fallbackbaseUrl and forceFallback fixes

fallbackBaseUrl,forceFallback and WebSocket detection fixes.   Set the
baseUrl for the WebAPI . inex. fallbackBaseUrl = "/MyVirtualDir"