See, I was thinking I'd base my API roughly on socket.io's