Add type hints for smaller modules in common and connection
Add type hints for several smaller modules and functions
Common
- [x] versioning.py
- [x] utils.py
- [x] state.py
- [x] administration.py
- [x] datatype.py
Connection
- [x] connection.py
- [x] encode.py
- [x] interface.py
- [x] utils.py
- [x] authentication/*
issue