http_client: support the parsing of bodyless payloads