    def connect
      @socket = Connector.connect(domain: domain, hosts: hosts, port: port)
      start
    end