Long polling with PHP