Add non-bang version of connect-via-uri

For [reloaded](https://github.com/stuartsierra/reloaded) projects, it's very helpful to have no global state set by libraries.