'Fills internal buffer with data from socket and returns first B{count} received bytes.
@type count: int
@param count: Number of bytes to recieve
@type peek: Bool
@param peek: Keeps bytes in the buffer if true
@rtype: str
@return: First B{count} received bytes'

def recvb(self, count, peek=False):

    while True:
        if (count > len(self._b)):
            self._b += self.recv((count - len(self._b)))
        else:
            bytez = self._b[:count]
            if (not peek):
                self._b = self._b[count:]
            return bytez
