add protocol_version to the switch plugin for pack/unpacks