[Runtime][HttpClient] Fix POST handling without data + Fix HEAD wihch 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.