PHP 5.3+ basic daemon / Event loop