Added helper for escaping char sequences
Added saving of last message send in a channel
Implemented last message in channel for unix domain socket interface