Improve the test to check substrings strings that

match the http1.0/1.1 header specification.