reads in lines from stdin and sends them as datagrams