RESTful architecture for Rails app using HTML5 Websockets.