Adding mbuffer support to replication

Hi,

I’m currently trying to replicate shares over WAN over wireguard VPN with really bad transfer rate (sender 1000/1000, receiver 250/20). Thinking about hacking mbuffer support to replication. Has anyone tried this before?