Added restify next() support