PHP fork/thread framework