a chat application in PHP using webSocket