Added client support for sending keep-alives.
Removed unreachable code.
Added code to compress multiple updates to the same key to one update.
Added support for creating new entries.