Adding a self signed https agent to attempt to validate certs before any data is sent (ex. basic auth).