Start adding code to communicate via websockets.