code: private static function parseElement(Request &$req,
      		$serverVars, $elementName, $paramName)
      {
          if (isset($serverVars[$elementName])) {
          	$req->setParam( $paramName, $serverVars[$elementName] );
          }
      }
docs: Parse a single http header element into parameter for the request object
  
  @param Request $req
  The destination request object
  @param array $serverVars
  The server variables provided by sapi
  @param string $elementName
  The element to parse
  @param string $paramName
  The destination parameter name