Update uREST.cpp in according to new char string management