socket: Set SOCK_CLOEXEC if available

Reported by Марк Коренберг <socketpair@gmail.com>
1 file changed