You are using the same callback for both "requested" and "received".
I'd prefer to have a way to detect when the request is "outgoing" or "incoming".