public synchronized void checkForServerUpdate(boolean notificationsEnabled) throws Exception {
        final Optional<String> response = getResponse("update", getServerUpdateRequest());
        if (response.isPresent()) {
            processServerUpdateResponse(response.get(), notificationsEnabled);
        }
    }
Queries the igniterealtime.org server with a request that contains the currently installed
server version. It's response indicates if a server update (a newer version of Openfire) is
available.

@param notificationsEnabled true if admins will be notified when new updates are found.
@throws Exception if some error happens during the query.
xmppserver/src/main/java/org/jivesoftware/openfire/update/UpdateManager.java