client: implement the client wrapper for GQTP