Add restclient-mode