Updated sentinel with initial code to connect with ssl