Modified FastCGIStream and SocketStream to efficiently Flush() data