The second patch contains an reworked version wich instead of adding many parameters to base64-encode-region (resp. base64-encode-string) function create the base64url-encode-region (resp. base64url-encode-string) function. Documentation and tests are also updated consequently.