add Base64 helpers for decoding/encoding common cases.  fill out unit tests.