docs: def get_encoder(self):
          "Return an encoder based on encoding settings"
          kwargs = self.connection_kwargs
          return Encoder(
              encoding=kwargs.get('encoding', 'utf-8'),
              encoding_errors=kwargs.get('encoding_errors', 'strict'),
              decode_responses=kwargs.get('decode_responses', False)
          )