fix Python3 compatibility issue in _crc(). improve RTU receive code.
Secure frame size before struct.unpack invocation.