edit server implementation for the "Edit with Emacs" and "TextAid" Chrome extensions