Client side APIs redo, 20140918
 - example_adaptor for test purpose
 - a number of defects on client APIs and even server side found
   and fixed :-)