fix: Client not stopping when the ssl socket was closed. Keepalive ping reworked.
settings: Added a sample file.