Modified function signature of get_asio_idx_x.
Added clone feature and fixed a bug from session::manager::erase_a_session