socket chat note-taking for local server