Add support for pty, refactor
Merge branch 'master' of github.com:jpalomaki/simple-ssh-client