Make the relay portion of this a library, where you can register callback handlers for incoming data. This is totally unnecessary for the app I'm building, but I think it would have a few benefits for learning rust, namely
- How to build and use a library.
- Dealing with threading so users can send messages independently of recving them