Preliminary: set up dispatch system for responses

This is a completely untested way to deserialize network responses into our structures and dispatch them for processing. Assuming this works as is, which is doubtful, there is still additional work to hook up into the actual program, not to mention test cases. This contains multiple types of functionality that if I wasn't lazy, I would design better to split it apart. For example, now there is serialization and deserialization of these structs all over the place and they really need to be in one place.