Add option to set optional protocol in uri validation