Added restclient-mode