Add better test coverage

Add better validation in util.py
Convert get_request_timeout and get_connect_timeout to properties,
per the Url class in the same file