writing socket servers in node : simples