stabilized defaulting logic around bad stream_mode setting
Merge pull request #7 from matt-moser/master

Changed stream_mode to default gracefully when setting is invalid