A dispatch mux
Renamed structures to be slightly more consistent with HTTP