added new method to send syncron request that instaed of working with callbacks returns the RPCResponse object