continue rename LC -> RC
fix cookie expires
improve logging
add ping

to prevent idle disconnection