Allow a transaction with CL to signal complete via stream close

Sometimes transactions that have the Content Length field will
close, either as the data has finished streaming, or part way.
In either case, allow the transaction to go into finalise state
so that the final response complete and transaction complete
hooks can be called