Imrpoved the possibility to make a synchronous call to the server

It is now possible to choose per call if it a sync of async call
(default = async)