implementing call method in client returning a promise on the byte[]
fixing RMClient