Check exists not just length
Pass the key-value pairs directly instead of via a hashref.
geturl
These don't test validation, only that IO::Socket::SSL is used.