add php curl support