* Add a three second connection timeout to all http requests. By default http.rb doesn't have any timeouts, so it can hang forever trying to connect if there are any network issues. * Return a fake 522 error in the event of a timeout so that callers don't have to deal with TimeoutError exceptions, instead they can treat timeouts as normal 5xx errors (which most callers already handle).