device: output warning when a protocol error is recevied
This is already done in the receive loop, but errors were not detected
when doing a one time refresh (as in the Test connection when a device
is added - when those messages are perhaps most valuable).
Issue #1609