XMLHttpRequest emulator for node.js