[shairplay] - backport of https://github.com/juhovh/shairplay/commit/ac9240fa569df5a10d534a4cd45740a44ee00f63 - fixes race between ipv4 and ipv6 socket acceptance