unify `src\mono\wasm\host\DevServer` with [dev server from aspnetcore repo](https://github.com/dotnet/aspnetcore/tree/main/src/Components/WebAssembly/DevServer) cc @maraf