Fix RestartableHttpClient.

It kills its connectionmanager when it restarts, so we have to create a new one. So don't allow passing in a single instance of connectionmanager; it won't work. Instead, create a new one with the given schemeregistry, which can now be provided - this is the main thing to customize in a connectionmanager anyways.