Create daemon.php

Initial commit for daemon example