Converted to socket.io event-driven streaming, totally uglying up all of the code in the process