OutputStreamDataSink needs to provide a server.

Change-Id: If3af2d095377eb3927e639cf7f37ecba906574f9
Implement support for blocking streams

Change-Id: I824b9cea71c0b76fa448fa357b6719d1ddf3199d