We assume that the calling context handles SSL support.