Figuring out what can be done with sockets, REST, and the MEAN stack