PHP class for curl.