daemon: Implement ping command.