add sample to use https and wss