expect_header function

Test that an HTTP request is made with a header