Adds dynamic OS-selected socket port handling and secured Electron/.NET communication.
The dotnet-first startup flow now generates the auth token on the .NET side and passes it to Electron through an environment variable. Electron reports the selected socket port through a temporary startup-info file, avoiding any dependency on parsing Electron console output.
Also avoids logging backend startup parameters because they include the auth token.