Update WebAPI shim functional tests to use a header for payload

The issue is that responses to HEAD cannot have a body. When running these
tests on a real server, they break because the server throws when you try
to write to the body.