Add promise support to Rapi clients