Update listen code to work with unix sockets