Simple websocket chat with client and server side on PHP