socket_io_serve(): set state to "connected" upon connect to reduce latency of fetch; add debug info on reconnexion