[server][test][Helper] Extend Watcher to watch non-GLib based events.