Implemented HTTPS Cert and DN expire checking

* Will timeout when destination doesn't support https
Merge branch 'develop'