add client code and mongoose room model
update database url
extended xmpp server
create web service for muc, bookmark, msg
provide socket.io and rest api
update zappajs package
update backbone.iobind package
nodejs callback for mongoose save and delete
add package, fix middleware
add Promise.timer
socket.io api: keep user and xmpp in session
put user, xmpp into io middleware instead of socket middleware
move /socket.io/socket.io.js into relative path
/im/socket.io/socket.io.js
- add bookmark api
- send message
- disconnect xmpp client & destroy session before disconnect websocket
- don't share session data via client
externalize session secret
- revise promise.timeout to 3000 ms
- show message on joined room only