CB-6299 Strip protocol and leading slashes from XHRLOCAL URL

This PR submits the fix mentioned in a related jQuery Mobile [bug](https://github.com/jquery/jquery-mobile/issues/6574#issuecomment-37879404)

I've tested this fix on a Nokia Lumia 800 for WP7 and on a Nokia Lumia 520 for WP8.