Fix IO::Socket::SSL warnings when not verifying hostname

This is the patch from https://rt.cpan.org/Ticket/Display.html?id=81948

I have tested that it stops the warning from occurring.

I'd greatly appreciate getting this applied and released to CPAN.