import { base64 } from "https://deno.land/x/socket_client@0.1.0-alpha.1/deps.ts";
const { encode } = base64;
CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727 Encodes a given Uint8Array, ArrayBuffer or string into RFC4648 base64 representation