copy connection_manager.cc to event_id_generator.cc

To extract event_id_generator.