log out on socket close
Merge branch 'master' of github.com:digitaltom/trivialine