Construct the server URL with urllib.parse.urlunsplit()