Fix HTTP pipeline tests to actually wait for each request before sending mock response.
Fix HTTP pipeline tests to actually wait for each request before sending mock response.

Otherwise, the HTTP client might be destroyed before it has written all data, since the responses have already been received.

In particular this fixes http-test on Win32.

mologie/capnproto,mologie/capnproto,mologie/capnproto