Fixed request headers and data reset on initCurlHandle()