Is the communication complex/interactive, or more like request/response?
I'm not sure if I'm reading your intentions correctly, but would you like to modify the live request stream? If so, then no, it's not supported by default, and would require some non-trival hacking.
But, maybe you can record the requests with socat, or with wireshark and use it as a corpus?
I had a bit similar problem with OpenSSL, and I ended up using socat which was passing SSL negotiation both to the openssl server, as well as saving the stream (only one direction of it) to files, and then using them as corpus.