add a method to notify the delegate when a secure connection has been established