Made the outputStream and inputStream both fields in TCP client