Sync relayd from OpenBSD as of 20131023