Rewrite SimpleHttpClient.request to include timeouts
Rewrite SimpleHttpClient.request to include timeouts

Fixes #2191

matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse