Implementation of chat using PHP and Comet long polling