v0.4.0: add stream support. close #7