Implements curl post fields (array and string format) and curl_getinfo() overwrite