Read connection options from the connect function. Support for JOIN and PART commands