Implemented optimistic retry (closes #22)

Corrected onreadystatechange to not fire error reporting twice
Updated changelog