daemon: listen_fds, is_fifo, is_socket
Prototype for new daemon API.