Added '-p' to set the connection password from the command line
Improved -L output for easily import of new connections
Fixed interactive_shell: retry writes to stdout after receiving EAGAIN