Inlcude replacement for https when generating webcal link
correct typo urlendcode was used instead of urlencode