It's still far from good, I have yet to fix the encryption error that occurs sometimes.
I'm not sure if this fixes your problem but winpcap sends to me the same packet twices sometimes so I had to check every packet's validity by reusing the previous packet's IV on it and comparing the decrypted data.