[test] Added test to show loss of data during connection middlewares
[test] Added test to show loss of data during connection middlewares

dercodebearer/primus,primus/primus,STRML/primus,STRML/primus,primus/primus,dercodebearer/primus,primus/primus,STRML/primus,dercodebearer/primus