validate URL in OptParse