refactor http code; cleanup JSON encoding in client registration
refactor padding handling in base64url encoding/decoding
change target_uri parameter name to target_link_uri

follow update in draft-bradley-oauth-jwt-encoded-state to align with
3rd-party init SSO from core spec