Basic functionality for communicating with the server via websockets and
just echoing the results into #content