Tidied up the initPostFields method a little more of the Curl Http\Provider.