daemon/http: fix memleak
The http_data structure is allocated in http_write_pkt() and the last callback that uses it is on_pkt_write(), so it should be responsible for freeing the memory.
This used to leak a small amount of memory on every DoH response.