Simple example of multi threaded socket server in PHP