Added the GETPID command to retrieve the PID of the daemon.