Fix HTTP post retransmit in the new API.

We don't buffer response bodies in the new API. But we should retransmit
POST bodies when a request fails.