/**
  * sendResponse 
  *
  * Sends the responses back to the client. Call this after you answered all the requests with setResponse
  * 
  * @return void
  */
 public function sendResponse()
 {
     header('Content-Type: ' . SabreAMF_Const::MIMETYPE);
     $this->amfResponse->setEncoding($this->amfRequest->getEncoding());
     $this->amfResponse->serialize($this->amfOutputStream);
     echo $this->amfOutputStream->getRawData();
 }