PYTHON-730 - Add a validate option to uri_parser