Quick code cleanup in resticlient.h and restclient.cpp