added support for unix sockets