Change to choose HTTP or HTTPS