- Moved become_daemon() here from socket.c and made it static.