Add stream options

This PR adds support for stream options. :kiss: