Moved parsing of String to URI into parse_uri
No longer defaults to ‘localhost’ if there is no broker configured