Misc. fixes and change in API for sending buffers from mock rt_client