Fix problem reconnecting

There is a bug in the reconnection code, and the test case doesn't
verify the calls so it doesn't catch the issue.  Fix both problems.
Add basic time remaining

Calculates a simple time remaining value based on the reported
percent complete and the elapsed time.
Merge pull request #14 from cybertron/add-remaining

Add remaining