added tcp streaming to client
added transport function