Added code to mark transmission read
Fixed issue with HMAC generation