- Updates old code to new API
- Implement Socket
- Remove old types
There is some code duplication with what's in lib/. I'll try to refactor this later.
Looks like RefreshKeyRequest is defined not properly in Rust codebase, should not be a separate message but part of MessageToDevice. I'll fix that as followup - shouldn't affect this code.
Depends on D9596