Udate the restify definition so that the request attributes path and href
are functions rather than string properties.