revert to previous SSL socket to see if SSL EOF errors are avoided