core: Add a base 64 decoder.