cpp: Allow get/set properties using getters and setters through rpc's

Change-Id: I77e44e848c2a0fe9b6e2114161b70e332b2a2232