Patch XHR prototype instead of replacing XHR.