[TIMOB-16711] Fixed a bug with decoding the XHR url in the proxy. Also f...

...ixed the setup of logging in the package hook.