C based Base64 implementation optimized for cross-platform network communication