Base64 URL encode sig in JWTs

It was currently being sent out hex encoded.
Fixes #5
Merge pull request #6 from shane-tomlinson/issue-5

Base64 URL encode sig in JWTs