moving socket server code from cewing/training.python_web repository so I can play with jenkins