Implementing backward compatibility for normal SSL_connect