protected function _bootstrapHttpCommunication()
 {
     $httpRequest = EngineBlock_Http_Request::createFromEnvironment();
     $this->_application->getLogInstance()->info(sprintf('Handling incoming request: %s %s', $httpRequest->getMethod(), $httpRequest->getUri()));
     $this->_application->setHttpRequest($httpRequest);
     $response = new EngineBlock_Http_Response();
     $response->setHeader('Strict-Transport-Security', 'max-age=15768000; includeSubDomains');
     // workaround, P3P is needed to support iframes like iframe gadgets in portals
     $response->setHeader('P3P', self::P3P_HEADER);
     $this->_application->setHttpResponse($response);
 }
 protected function _processProxyServerResponseHeaders(EngineBlock_Http_Response $response)
 {
     $proxyHeaders = $this->_proxyServer->getHeaders();
     foreach ($proxyHeaders as $headerName => $headerValue) {
         if ($headerName === EngineBlock_Http_Response::HTTP_HEADER_RESPONSE_LOCATION) {
             $response->setRedirectUrl($headerValue);
         } else {
             $response->setHeader($headerName, $headerValue);
         }
     }
 }
 protected function _bootstrapHttpCommunication()
 {
     $this->_httpRequest = EngineBlock_Http_Request::createFromEnvironment();
     $response = new EngineBlock_Http_Response();
     $response->setHeader('Strict-Transport-Security', 'max-age=15768000; includeSubDomains');
     $this->_httpResponse = $response;
 }