Simple chat application gives example about how to using websocket with Sails.js.