Add Connector::get_mode(const std::string &mode), remove const char * variant