Finds the value belonging a header
$key
$type
Finds the value belonging a header.
key
The header name.
type
One of EventHttpRequest::*_HEADER constants .
EventHttpRequest::*_HEADER
Returns null if header not found.
null