Added gen_tcp example.