code: private static String base64EncodeToString(String s) {
      final byte[] bytes = s.getBytes(StandardCharsets.ISO_8859_1);
      return Base64.encodeBase64String(bytes);
    }
docs: This replaces Jetty's B64Code.encode().