Mode xhr-node compat to it's own file.