Added streaming support.
Merge pull request #8 from ben-eb/patch1

Added streaming support.