Moved socket server stuff to socketEndpoint.js
Added system message when a name change happens
Fixed jshint