extend encode to accept a header extension object to allow jku, kid, xtu, and x5t to be set
check for existence of header_ext
default value for header_ext
that was unnecessary
Merge pull request #3 from alexahn/header_ext

extend encode to accept a header extension object to allow jku, kid, xtu...