fixed bad url for calls to restify() with / as target