first running websocket implementation in php