move all to '/server'; write sample socket server