Added check for remote Urls which are not patched. Some new tests and fixes for Url patching.
Tidying up.
Post processing switch.