title: How to pass values to a callback function at the time of the request call?
body: <p>I have the following situation:</p>
  
  <pre><code>var foo = [ 0, 1, 2 ]
  for (var i in foo) {
      Asyncstuff.get(URI).on('response', function(res) { console.log(i); } });
  }
  </code></pre>
  
  <p>Because the .on('response',...) is called in an asynchronous manner, the output will most likely be</p>
  
  <pre><code>2
  2
  2
  </code></pre>
  
  <p>Is there a possibility to pass the value of <em>i</em> at the time the .get() is called to the callback function?</p>