invoke io.connect to establish connection