more streams and tcp methods