Implement Unix domain sockets in libnative

Fix #11201
No Windows named pipes for now and the libuv implementation is missing too
There is a special case for datagram sockets like /dev/log