Safely parses the JWT header.
The JWT header string
Parsed JWT header as an object.
KeylessError if the header is invalid or missing required fields
Safely parses the JWT header.