starting to add socket.io. It's falling back to xhr for some reason at the moment which is annoying - should be using web sockets I think