Also manage invalid certificate with http.defaultclient