Replace fail! with panic!
Update TcpStream parameters