fix SSL/TLS errors such as {:send_failed, {:error, {:tls_alert, 'record overflow'}}}