Switch to base64 under GPL 2+

I am not sure why there is a off-by-one difference in needlen.
Merge pull request #22 from maxmind/greg/gpl-2-compat

Switch to base64 under GPL 2+