As we treat a given proxy as a URL we should use the unified URL parser to extract the parts out of it. Closes #3878