improved structure of the todo file
set linger to 0 before closing socket in destructor to avoid leaks with lingering messages
added methods: disconnect(), unbind(), receive(): single message