yet an other simple script that interact with a stream socket