Check input for URI format upon calling a connect method
Currently, a call to some connect method using a malformed/incomplete `uriString` can result in a `NullPointerException` later, because `scheme` is `null`. An error should be thrown earlier and with a more helpful message.
issue