fn escapeString(allocator: std.mem.Allocator, input: []const u8) error{OutOfMemory}![]u8
Applies URI encoding and replaces all reserved characters with their respective %XX code.
allocator: std.mem.Allocator,
input: []const u8,