freebsd: use accept4, introduced in version 10