private static boolean isReserved(int c) {
    return isGenericDelimiter(c) || isSubDelimiter(c);
  }
Percent Encode the provided byte.

@param data to encode
@param bos with the output stream to use.
core/src/main/java/feign/template/UriUtils.java