client shutdown on close
corrected commandline argument
server connect lazy. Avoid exception on startup