Support arbitrary db-spec k/vs from query params in URIs.

This makes it a lot easier to support SSL connections from URI-style DB connection parameters.