To make it easier to diagnose issues related to the p11-kit RPC protocol, it might make sense to write a wireshark [dissector](https://www.wireshark.org/docs/wsdg_html_chunked/ChDissectAdd.html) plugin for that.