'Fill raw queue from exactly one recv() system call.
Block if no data is immediately available.  Set self.eof when
connection is closed.'

def fill_rawq(self):

    if (self.irawq >= len(self.rawq)):
        self.rawq = ''
        self.irawq = 0
    buf = self.sock.recv(50)
    self.msg('recv    %r', buf)
    self.eof = (not buf)
    self.rawq = (self.rawq + buf)
