updated local-sample with HTTPS example