protected function receiveBody()
    {
        if(strlen($this->bufferData) >= $this->waitingFor)
        {
            $this->messages[] = substr($this->bufferData,0,$this->waitingFor);
            $this->bufferData = substr($this->bufferData,$this->waitingFor);
            $this->headerReceived = false;
            return strlen($this->bufferData) > 0;
        }
        return false;
    }