rr: use msg_ctx_id_t for caching of request direction