This doesn't solve one of the big performance problems when using http,
which is the cost of establishing a connection for every single request.
Timing out connections is not that big a problem; if the connection hasn't
been used for a while, then the extra delay involved in restablishing a
connection doesn't matter - it's repeated connections that really
cause the problems.