Updated GetWharrf for HTTPS