Use urlparse() to parse the proxy URL