fun start(): Unit
Opens the connection to the server and registers a JVM shutdown hook to cleanly disconnect.