parse
Parse a proxy string into a Proxy object.
Detects the proxy type based on the prefix of the string.
http://for HTTP proxysocks5://orsocks5h://for SOCKS5 proxy
Accepts the following formats:
hostname:port:username:passwordusername:password:hostname:portusername:password@hostname:port