Retry

This adds a configurable retry for get, along with tests.  Currently, we retry once on socket hangup or after getting a 5xx.

cc @willwhite