Invert arguments order in constructor of connection classes.
Rename "reader" to "parser" in StreamConnection class.
Do not use the phpiredis-based connection in example.