Implement source in terms of stream

see https://github.com/scotty-web/scotty/issues/97