in reply to Net::SSLeay and SESSION-ID

No I am wrong you need to keep $ssl1.