start to add new socket server; comment out old server stuff for now