Distinguish between server-sent and client-sent basic.cancels.