add url-safe base64 converter

@qmx agreed, no need to import here.