added include/caldav.php based on include/caldav-client-v2.php,
but with cURL mechanics borrowed from (former) include/carddav.php