Bug fixes:
- Fix mutex deadlock
- if send enc_type is set to BC, always decode using BC
- Check decryption success, if AES fails, try Baichuan and proceed when push callback decrypt error
- Do not attempt to decrypt empty body
- Fix baichuan decryption when offset > 255
Optimizations:
- Improve Baichuan parsing exception logging further
- Check for magic header while parsing multiple messages
- Catch HTTP error code 429: Rate limit specifically
- Use dict for expected cmd_id and receive_future
- Improve AES decrypt Error logging
- Do not reset _data_chunk
- Make decrypt retry more robust
- Bump down push events to debug log level
Full Changelog: 0.10.4...0.10.5