Add option to set optional protocol in uri validation

Yes - i will add, and update PR