Fix the example daemon to reflect the new core changes
Fix the example daemon to reflect the new core changes

zazoomauro/PHP-Daemon,gregtampa/PHP-Daemon,gregtampa/PHP-Daemon,theintz/PHP-Daemon,zazoomauro/PHP-Daemon,MartinReidy/PHP-Daemon,MartinReidy/PHP-Daemon