added snippet with SSL