The current method would not allow version strings like 0.4.0.5 since it would check every number of the version string individually.
In this commit, we add a check for the Tor server's version number to ensure it supports creating v3 onion services through its control port.