parseUri method Null safety
Parses URI into config parameters. The URI shall be in the following form: protocol://username@password@host1:port1,host2:port2,...?param1=abc¶m2=xyz&...
uri
the URI to be parseddefaultProtocol
a default protocoldefaultPort
a default port return a configuration parameters with URI elements