title: Read HTTP headers in Controller (Zend Framework)
body: <p>Long story short: 
  I'm building a skeleton application for Zend Framework and I got to the part where I need to setup the <code>api</code> module. I'm using <code>Zend_Rest_Controller</code> for this job. All is ok up to this part where I need to get the HTTP headers in a controller to verify the api key.</p>
  
  <p>On various tutorials I've read on the web the thing is done via a front controller plugin, but I need it to be more "plug and play" than that (checking each time the config of the application, deciding which module is the api and so on).</p>
  
  <p>I tried what seemed most obvious <code>$this-&gt;getRequest()-&gt;getHeaders()</code> but doesn't seem to work, at least not for the HTTP headers where I'll be seding my api key. Neither the <code>reponse</code> object.</p>
  
  <p>Can anyone help me with this one?</p>