1.8.7 is good enough
1.8.7-compatible urlsafe base64 encoding, and try to be more 'Rubyonic'