Socket_IO_Socket: implement connected state, emit_queue for operations when disconnected, connect(), disconnect()