chase hs-jose api changes

This updates to hs-jose API as at 7c3c5f5.