ruby: parse uri parameter for Mongo::Client.new
ruby: improve to_s for Client.