Making sure WebJobs urls can be built when there is no http context.

Should this be static?