fixes bug with HTTPbody parameters being encoded twice