buffered client to agent end to end implementation