Added keepalive PINGs to server to detect dropped connection