Revert "Force Net::SSL to support the certificate HTTPS_ env variables (same as"

This reverts commit ff2890eb8d0643ccbc0d39f3ee7721890ec68a03.
Force Net::SSL in local scope in the get_head method