Sample SSL client code for correct endpoint validation.