Add JWT 1.0.2

Had to fix some issues complying with the RFC. I thought I fixed it in 1.0.1 but it turns out the server I was using for testing incorrectly parsed my invalid JWT. This should be the last fix, for now.