[C] Initial pass at base64 encoding.