Mods to make the Jersey client work in a server environment.