Add defaults to switch statements

Ensure unknown message types do not unintentionally crash the process.