Move custom XHR code to honnef.co/go/js/xhr