code: def get_version(self, target=None):
          
          with self.lock:
              if not target:
                  self.send('VERSION')
              else:
                  self.send('VERSION %s' % target)
  
              while self.readable():
                  msg = self._recv(expected_replies=('351', '005'))
                  version = msg[2].replace(' :are supported by this server', '')
                  version = version.split()
                  for info in version:
                          try:
                              info = info.split('=')
                              name = info[0]
                              value = info[1]
                              self.version[name] = value
  
                              if name == 'CHARSET':
                                  self.encoding = value
                          except IndexError:
                              self.version[info[0]] = True
  
              return self.version
docs: Get the servers VERSION information.
          Optional arguments:
          * target=None - Server to get the VERSION information of.