Working on sending and recieving messages through the websocket.