Bug fix for openConnectionSSL