flags for creating streams and when receiving events
merge flags branch; closes #2