Implemented extensible wire protocol message format using annotation chunks. HMAC is now one of these chunks. HMAC message flag removed.
useless loop removed, slight tweaks