Add read and write timouts to the http server.