Ported server.js sample from edge-powershell