Restful application with NodeJS, Express and Socket.io