support for listening on multiple addresses and for UNIX sockets