Fix #28. Handle ssl.SSLError and retry frame.