Added base64.c to support encoding binary data