Add missing "set_http_proxy" method to the base Connection class
Improve URL validation, update docstring.