- Look into making return code constants integers instead of strings.
- Better error handling.
- Make sure we support the entire protocol.
- Better documentation
- Lots of other stuff.
