Include header in HMAC.
Test v1 backward compatibility
Update documentation of v2 format.