clear ssl session so that access to freed memory would be easier to note.
ftp: enforce deallocation order (ssl after the buffers).