Fix encoding problem in notify keepalive
Fixed two typos in logfile messages
Fix encoding problem in keepalive notification