relayd: use an init script instead of a legacy network proto handler (fixes #11276)