removed disconnect message (sent by ol.wsserver). send connected idx state (1 or 0) instead