Convenient function to retrieve HTTP header.