First attempt at using web sockets to build a chat app