Add redownloading of lost packets.
Add travis-CI.