title: Simulate an open web socket with nock
body: <p>I am trying to use nock to run backtests on code written against Oanda's trading API.  To do that, I need to simulate the streaming price API (see Rates Streaming at <a href="http://developer.oanda.com/rest-practice/streaming/" rel="nofollow">http://developer.oanda.com/rest-practice/streaming/</a>).  However, it seems like nock only lets you respond with a single reply, even though the response is a stream.  Is there any way to send a stream of thousands of price events as individual responses to a single request?</p>
  
  <pre><code>var scopeStream = nock('https://stream-fxpractice.oanda.com')
    .persist()
    .filteringPath(function(path) {
      return '/stream';
    })
    .get('/stream')
    .reply(function(uri, requestBody) {
      return [200, {"tick":{"instrument":"AUD_CAD","time":"2014-01-30T20:47:08.066398Z","bid":0.98114,"ask":0.98139}}]
    })
  </code></pre>