Also fixes an issue where the REST server would sometimes try to send the reply to the wrong WebServer instance