Added support for setting a proxy for debugging. Also supported
disabling the version prefix in the URL.