This is a proof of consept which allows a website external to XWiki to make a JIO request to an XWiki server using JIO.
npm install node-static
node ./static.js
chromium http://127.0.0.1:8081/
# follow instructions on the page...
Note: this expects your wiki to be running at http://127.0.0.1:8080
to adjust it for your own setup you have to edit index.html.