fix `version` command
share memcache storage across connections
compare numbers with `is not None` explicitly