shell for handleInput, connect and main loop
Merge branch 'master' of https://github.com/grouse/ssl-patientrecords