factor out FD_CLOEXEC into SocketHelper module