Fix forbidden conversion in remote.cpp Conversion from std::string to char* is forbidden in ISO C++. link

rkitover authored to master