Overhaul header parsing for JWE
Overhaul header parsing for JWS
Rename header struct, clean up nits
Improve handling of ephemeral ECDH keys