allow user to provide a connection manager to http implementation.