[Runtime][HttpClient] Fix POST handling without data + Fix HEAD which should return no body

This PR does two things:

 - It fixes the POST handling when there is no data (#3234).
 - It fixes the HEAD handling which should return no body.

After looking to the tests, I don't know how to do it :s