Just use any of the proxies already made like nuconnector and one analyzer.
It's just about make the same calls that the client does, there is nothing 'extraordinary'... more now than before that there is a bunch of tools already made.
Any of these will serve as good way of seeing those packets and their responses:

Try them, and give authors feedback/thanks.
As a personal note... I still have to finish that Python port lol. xD but don't have time.