public function __construct($socket, $opts) { parent::__construct($socket); $this->Terminator = "\r\n\r\n"; $this->Callback = $opts; $this->Request = NULL; $this->RequestSplit = NULL; $this->RequestHeaders = array(); $this->RequestBytesRead = 0; $this->ContentLength = 0; $this->ContentType = NULL; $this->MIMEBoundary = NULL; }