Validate and filter device name
Filter certain characters in the device name or names that are too long.
Discard packets when the device name/id is empty.
Following the spec: https://invent.kde.org/network/kdeconnect-meta/-/blob/master/protocol.md?ref_type=heads#kdeconnectidentity