# Functions
AddBasicAuth adds username and password to the join address.
CheckHTTPS returns true if the given URL uses HTTPS.
EnsureHTTPS modifies the given URL, ensuring it is using the HTTPS protocol.
NormalizeAddr ensures that the given URL has a HTTP protocol prefix.
RemoveBasicAuth returns a copy of the given URL, with any basic auth password redacted.
# Variables
ErrUserInfoExists is returned when a join address already contains a username and a password.