Url shorten api using node.js and restify.js