Handle zero-length keepalive messages