Would this be useful without deletion part? And if yes maybe we could get the socket part in if the path/fd part is controversial?
Without support for deletion, creating a Unix domain socket will always leak an on-disk path. This also, I believe, precludes support for having any tests.