keepalife now each 20 seconds, fix message escape / unescape