added reading and storing of MAC so that it may be forwarded by proxies. Modified path of writing records so that a stored MAC may be copied into the record instead of a new one being generated.