Fix wrong key type
Unify type conversion
Implement support for control endpoints.
Add control endpoints to test firmware
Add control IO tests