first step to create a web socket chat.