pgte/nock — pull request #175 by ierceg (2014-05-19 22:03:00+00:00)
Title: Fixed response not resuming on drain

This fixes #146 by marking `OutgoingMessage` (a writable stream) as readable allowing resuming of mocking by Node itself (deep in its streams library) when drained. This is a hack obviously but it works. I think that the proper way to actually solve this is to make `response` be a `IncomingMessage` (as that's what we are mocking - incoming messages) but I got all sorts of errors when I started down that path so I let it be for now.