initial commit of socketChat

copy paste from textbook