'Generate protocol-local serial numbers for _ask keys.
@return: a string that has not yet been used on this connection.'

def _nextTag(self):

    self._counter += 1
    if _PY3:
        return (u'%x' % (self._counter,)).encode('ascii')
    else:
        return ('%x' % (self._counter,))
