Refactor out the HTTP/2.0 preamble in tests.