Work on restarting for SSL sockets.