$.Deferred implementation based on streams.