Agree that it's not ideal, but I still like it better than having to be super explicit, because that means we can't do the "automatic" approach with the class-detection triggering the check for online status, since the central server host needs to be known for that.

Definitely agree that this code should go in `distributed-server.js` (a file that we already have). I deliberately left it here for now since I was modifying existing code and didn't want to mix moves and changes, as it would make it harder to code review. I should have left a note here saying that the intention was to move it after. I'll move it now.