Fixed timing issue in stream encryption setup.
Merge branch 'develop' of github.com:/structr/structr into develop