Stub for XMLHttpRequest