Retrying when we encounter a connection reset

Our users have occasionally encountered connection resets when running
postreview.py from remote locations with poor connectivity. These errors are
transient, so adding retries when postreview encounters a timeout.

Tested via a simple sanity tests that I could still post a code review to a git
repository.