added basic socket server