[minor] Also allow options.url/options.uri as connection URL

This is a small addition to the logic that was introduced in edd07f2ad7f0b656de82bacb777fee6be540e21b