Fix bug: delete buffer on reconnect
Increase keepalive to 60, un-hardcode value in connect packet
Implement ping timeout

Only way to catch all kinds of TCP disconnects...