added basic sample server to talk to client