Add option to set optional protocola in uri validation