lite socket server in python