if (params == RegTestParams.get()) {
appkit.connectToLocalHost();
}
appkit.setUserAgent("PayFile Server", "1.0").startAndWait();
System.out.println(appkit.wallet().toString(false, true, true, appkit.chain()));
ServerSocket socket = new ServerSocket(port);
Socket clientSocket;
do {
clientSocket = socket.accept();