added socket namespacing for document editing and added a corresponding spec