Fix :out :stream in the cli namespace

Caller becomes responsible for closing the session.

Closes #29
Lock known hosts file

Try and prevent concurrent read and writes to the known hosts file.
Simplify shell code
Add updated link to scp details blog post