TS-2415: use standard continuations to release UrlRewrite objects

UrlRewrite uses a custom continuation to release the old object
after it is no longer needed. We can use library code for this
instead. Use new_Deleter to free the old UrlRewrite object.
TS-1815: Add thread number and port to accept thread name