fix parsing of connection strings with default vhost

We should assume that a trailing slash at the end of a connection
URI means to use the default vhost of /. This fixes issue #2.