'receive a unicode string, as sent by send_string
Parameters
flags : int
Any valid recv flag.
encoding : str [default: \'utf-8\']
The encoding to be used
Returns
s : unicode string (unicode on py2, str on py3)
The Python unicode string that arrives as encoded bytes.'

def recv_string(self, flags=0, encoding='utf-8'):

    msg = self.recv(flags=flags)
    return self._deserialize(msg, (lambda buf: buf.decode(encoding)))
