Ensure that path always is suffixed with '/'
Safe toString implementation.
Outputs user segment if any, will not print passwords
Safe toString implementation
Outputs masked passwords