DERBY-618 Make the client driver connection URL work when spaces are in the URL. port from trunk Contributed by Deepa Remesh