writeFormBody accepts ranges of pairs

I've needed this, because the formdata is stored in a SQL table and I did not want to construct a AA just to send it directly.