Why wouldn&#x27;t you just include a length field on strings&#x2F;bytes, allowing the protocol to be &quot;binary clean&quot; and avoid the base64 problem entirely?<p>This is one of the most annoying things about XMPP (even sending contact photos hits this!), so if replacing XMPP ...