Support testing unix and inet domain sockets.