Getting ready to implement web sockets