Use the serial test harness.
Add offset to htp_tx_data in order to keep track of the position (within document) of the request and response body bytes.