Merge "macOS build fix: no SOCK_CLOEXEC on darwin."