Fix relative URIs with XMLHttpRequest in sandbox

Now we use XMLHttpRequest which resolves relative URIs to location.