urlencoded in Content-Type when using POST request fix, Added getCurlHandle method