Allow whitespaces in version strings

The <version> result value of the VERSION command may contain
whitespaces, e.g. "1.14 (Ubuntu)".  It can also appear in the
result of STATS.