remove legacy APIs which are not even supported anymore
in particular this allows sharing the ratcheting between the E2EEncryption module and the Worker.