Fix a few memory leaks
Refactor almost everything. Protocol change. Implement PUSH and EXEC.
Code formatting, remove trailing spaces...
Pull the restriction on uuid and msgid length.
Remove a debug line.