Building a Chat Application with React and Websockets